/**
 * 
 */
package craneding.gwt.databean.client.model;

import java.lang.annotation.Annotation;

/**
 * @author crane.ding
 * @version 1.0 2008-11-29
 */
public class FieldInfoXMetaData implements FieldInfoX {
	
	private String name;
	private String value;

	/* (non-Javadoc)
	 * @see craneding.gwt.databean.client.FieldInfoX#name()
	 */
	public String name() {
		return name;
	}

	/* (non-Javadoc)
	 * @see craneding.gwt.databean.client.FieldInfoX#value()
	 */
	public String value() {
		return value;
	}
	
	public FieldInfoXMetaData name(String name) {
		this.name = name;
		return this;
	}

	public FieldInfoXMetaData value(String value) {
		this.value = value;
		return this;
	}

	/* (non-Javadoc)
	 * @see java.lang.annotation.Annotation#annotationType()
	 */
	public Class<? extends Annotation> annotationType() {
		return FieldInfoXMetaData.class;
	}

}
